@import url('https://at.alicdn.com/t/font_1378918_0xnoz4x5vuic.css');

/*颜色 */
$main: #efbc2e;
$yellow:#ffa602;
$deepyellow:#fe7302;
$deepgrey: #333;
$blackcolor: #000;
$grey: #666;
$lightgrey: #999;
$bgcolor: #f3f4f8;
$bodycolor:#f3f3f6;
$linecolor: #e4e4e4;
$white:#fff;
$bordercolor:#dcdcdc;
$green:#5fa281;
$otherColor:#ccc;
$orange:#ff6540;
$brown: #d2a47e;
$border-light:#e5e5e5;
//定义字体规范
$font-size-small-s: 10px;
$font-size-small: 12px;
$font-size-medium: 14px;
$font-size-medium-x: 16px;
$font-size-large: 18px;
$font-size-large-x: 22px;

// 单行文本超出显示省略号
@mixin no-wrap() {
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

// 多行文本超出显示省略号
@mixin no-wrap-multi($n) {
  display: -webkit-box !important;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $n; // 可显示行数
}

@mixin setTopLine() {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid $bordercolor;
  color: $bordercolor;
  transform-origin: 0 0;
  transform: scaleY(0.5);
}
